package com.syaccp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syaccp.model.SysMenu;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

	List<String> findPermissionByUserId(@Param("userId")Integer userId);

	List<String> getAllPermissions();

	List<SysMenu> getMenusByUserId(@Param("userId")Integer userId);

}
